<!DOCTYPE html>
<script>
    onload = function() {
        var elm = document.getElementById('elm');
        elm.offsetTop; // trigger layout
        elm.style.display = 'none';
    }
</script>
<p>Test removal of a spanner that follows column content.</p>
<p>There should be a black square below, and nothing else.</p>
<div style="width:32em;">
    <div style="-webkit-columns:3; -webkit-column-gap:1em; line-height:5em;">
        <div style="color:black; background:black;">x</div>
        <div id="elm" style="-webkit-column-span:all; background:red;">FAIL</div>
    </div>
    <div style="width:10em; height:5em; color:black; background:black;"></div>
</div>
